-
Notifications
You must be signed in to change notification settings - Fork 6
Revisit the post-processing #267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #267 +/- ##
===========================================
- Coverage 100.00% 99.80% -0.20%
===========================================
Files 20 20
Lines 2005 2102 +97
===========================================
+ Hits 2005 2098 +93
- Misses 0 4 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Also, how does this all generalize to the acyclic bicoloring? |
It is exactly the same in terms of handling trivial edges. It was just late yesterday, and I didn’t find the energy to finalize the PR. |
6134b6b to
126f4bb
Compare
|
@gdalle I have an issue in my new function |
|
We could store this information in the adjacency graph, to know whether it comes from a symmetric matrix or not, and in the latter case have access to the row/column split |
|
Or we pass an additional argument to the coloring |
I prefer this approach because we can know that we have "augmented adjacency matrix" this way, and thus know that we are in bicoloring context for the function I will not need to pass the boolean parameter |
|
I suggest replacing struct AdjacencyGraph{T<:Integer,bicoloring}
S::SparsityPatternCSC{T}
edge_to_index::Vector{T}
original_size::Tuple{Int,Int}
endWe no longer need |
Ok for me 👍
Yes but we don't have I think adding a field |
|
Fair point 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from my remarks above, do you have any ideas for test cases where our heuristics actually produce the result we want?
ec642b2 to
84004ad
Compare
6a96b9d to
933308a
Compare
@gdalle I added the heuristic that I quickly described on Messenger in the following commit: 5fa3f7a |
5fa3f7a to
a37c7b7
Compare
a132593 to
6b0fbb1
Compare
|
@gdalle It is finally ready for a review!! |
Related to #264
Guillaume, it is still a draft but you can already have a look.